Skip to content

CCM-15342: Logging in lambdas#366

Draft
nhsd-angel-pastor wants to merge 2 commits into
mainfrom
feature/CCM-15342_assisted
Draft

CCM-15342: Logging in lambdas#366
nhsd-angel-pastor wants to merge 2 commits into
mainfrom
feature/CCM-15342_assisted

Conversation

@nhsd-angel-pastor
Copy link
Copy Markdown
Contributor

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nhsd-angel-pastor nhsd-angel-pastor changed the title Feature/ccm 15342 assisted CCM-15342: Logging in lambdas May 20, 2026
logger.error(
"MESHInboxMessageDownloaded validation failed",
validation_errors=str(e),
event_detail=event_detail
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not an issue as the event doesn't contain any PII, is just the message URI (the object key is an UUID anyway)

"Error processing SQS message",
error=str(exc),
sqs_record=sqs_record
sqs_message_id=sqs_message_id
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MeshDownload event it's ok

self.__log.error(
"CloudEvent validation failed",
validation_errors=str(e),
event_detail=event_detail
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MeshMessageReceived is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant